package com.youhome.service.mapper;


import com.youhome.service.model.BCompany;
import com.youhome.service.model.BCompany;
import org.springframework.stereotype.Repository;

@Repository
public interface BCompanyMapper {
    int deleteByPrimaryKey(Long companyId);

    int insert(BCompany record);

    int insertSelective(BCompany record);

    BCompany selectByPrimaryKey(Long companyId);

    BCompany selectByUserId(Long userId);

    int updateByPrimaryKeySelective(BCompany record);

    int updateByPrimaryKeyAndUserId(BCompany record);

    int updateByPrimaryKey(BCompany record);

    BCompany selectByUUID(String uuid);

    Long selectCompanyIdByUserId(Long userId);
}